import { lazy } from 'react';
import { LogoWechatIcon } from 'tdesign-icons-react';
import { IRouter } from '../index';

const wx: IRouter[] = [
  {
    path: '/wx',
    meta: {
      title: '小程序管理',
      Icon: LogoWechatIcon,
    },
    children: [
      {
        path: 'base',
        Component: lazy(() => import('pages/Wx/Secondary')),
        meta: {
          title: '问题解答',
        },
      },
    ],
  },
];

export default wx;
